<div class="col-xs-12">
    {{ form(form.getAction() ~ '?tab=general' , 'class': 'form-signup form-horizontal' , 'id' : 'formUpdateVideo' , 'enctype' : "multipart/form-data") }}
    {{ form.renderDecorated('imdb') }}
    {{ formDescription.renderDecorated('name') }}
    {{ formDescription.renderDecorated('description') }}
    {{ formCategoryLink.renderDecorated('category_id') }}
    {{ form.renderDecorated('national_id') }}
    {{ form.renderDecorated('duration') }}
    {{ form.renderDecorated('year_product') }}
    {{ form.renderDecorated('year_publish') }}
    {{ form.renderDecorated('file') }}
    {% if(video.imageLink.getFirst()) %}
        <div class="form-group col-md-12 col-sm-3 col-md-offset-3">
            <div class="col-md-2"><label for=""></label></div>
            <div class="col-md-8">
                {{ image(constant.pathUploadImage ~ video.imageLink.getFirst().images.getImagePath() , 'width' : '250') }}
            </div>
        </div>
    {% endif %}
    {{ form.renderDecorated('status') }}
    {{ form.renderDecorated('id') }}
    {{ form.renderDecorated('submit') }}
    {{ end_form() }}
</div>
<div class="clearfix"></div>